/**
 * 
 */
package com.zufangbao.earth.handler;


/**
 * @author lute
 *
 */
public interface SignatureHandler {
	
	/**
	 * Check app signature validation
	 * 
	 * @param appId
	 * @param appSecret
	 * @param signature
	 * @param customerId
	 * @return
	 */
	public boolean checkAppSignature(String appId, String appSecret, String signature,String customerId);
	
	/**
	 * Check app signature for term
	 * @param appId
	 * @param appSecret
	 * @param signature
	 * @param parameters
	 * @return
	 */
	public boolean checkAppSignature4Term(String appId, String appSecret, String signature, String... parameters);

}
